package com.xhdd.view;

import android.app.Dialog;
import android.content.Context;
import android.view.Gravity;
import android.view.WindowManager;
import android.view.WindowManager.LayoutParams;
import android.widget.SeekBar;

public class LightDialogView extends Dialog {

	private SeekBar seekBar;
	public LightDialogView(Context context) {
		super(context);

		WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams();
		layoutParams.gravity = Gravity.BOTTOM;
		layoutParams.width = LayoutParams.FILL_PARENT;
		layoutParams.height = LayoutParams.WRAP_CONTENT;
		seekBar=new SeekBar(context);
		seekBar.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT));
		this.setContentView(seekBar, layoutParams);
	}

}
